package cn.git.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * @description: 产品表
 * @program: bank-credit-sy
 * @author: lixuchun
 * @create: 2024-09-24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("product")
public class Product {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @TableField("name")
    private String name;

    @TableField("rate")
    private BigDecimal rate;

    @TableField("amount")
    private BigDecimal amount;

    @TableField("raised")
    private BigDecimal raised;

    @TableField("cycle")
    private Integer cycle;

    @TableField("end_Time")
    private String endTime;

}
